<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <title>知乎</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
    <!-- 外部css文件 -->

    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.12.5/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.1.0/js/bootstrap.min.js"></script>
    <script src="../../static/js/header.js" th:src="@{/js/header.js}"></script>
    <!--script写在fragment内否则不被引用-->
</head>


<div th:fragment="waitAnswerList"
     style="padding:20px 10px 20px 20px;border-bottom:solid;border-width: 1px;border-color: #f0f2f7">
    <link rel="stylesheet" type="text/css" href="style.css" th:href="@{/css/style.css}">

    <div th:id="${questionList.id}" class="answerList" >
        <div class="question">
            <a th:href="@{'http://localhost:8080/questionPage?questionid='+${questionList.id}}" style="font-weight:bold;font-size: 20px;color: black" th:text="${questionList.questionname}">请问厦门理工学院怎么样？</a>
        </div>
        <div class="RichContent" style="margin-top: 15px">

            <a th:href="@{'http://localhost:8080/questionPage?questionid='+${questionList.id}}" target="_blank" data-za-not-track-link="true" type="button" class="Button ListQuestionItem-writeAnswerButton Button--blue Button--withIcon Button--withLabel">
                <span style="display: inline-flex; align-items: center;">​
                    <svg class="Zi Zi--Edit Button-zi" fill="currentColor" viewBox="0 0 24 24" width="1.2em" height="1.2em">
                        <path d="M4.076 16.966a4.19 4.19 0 0 1 1.05-1.76l8.568-8.569a.524.524 0 0 1 .741 0l2.928 2.927a.524.524 0 0 1 0 .74l-8.568 8.57c-.49.49-1.096.852-1.761 1.051l-3.528 1.058a.394.394 0 0 1-.49-.488l1.06-3.53zM20.558 4.83c.59.59.59 1.546 0 2.136l-1.693 1.692a.503.503 0 0 1-.712 0l-2.812-2.812a.504.504 0 0 1 0-.712l1.693-1.693a1.51 1.51 0 0 1 2.135 0l1.389 1.389z">
                        </path>
                    </svg>
                </span>
                写回答
            </a>

            <div style="float: right;color: #000;">
                <span th:text="${questionList.answertimes}">几</span>个回答
                <span>·</span>
                <span th:text="${questionList.skimtimes}">几</span>个浏览
            </div>
        </div>

        </div>
    </div>


</div>

</html>